<me:UIABAUFM x:Class="WPFExcelReport.TRMU"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"   
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    Loaded="Window_Loaded"
                     x:Name="TV"                   
     >
    <me:UIABAUFM.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIABAUFM.Resources>
    <Grid>
        <DataGrid  Grid.Row="1" Grid.Column="0"
                   AutoGenerateColumns="True" 
                   EnableRowVirtualization="True" 
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
                  HeadersVisibility="Column" 
                   CanUserReorderColumns="True" 
                   CanUserResizeRows="True" 
                   CanUserSortColumns="True" 
                   IsReadOnly="True"
                   RowDetailsVisibilityMode="VisibleWhenSelected" EnableColumnVirtualization="True" 
                   HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
        </DataGrid>
    </Grid>
</me:UIABAUFM> 
